<?php
/*
 Plugin Name: Dumb Gallery
Description: Dumb Gallery
Version: 0.0
Author: Me, myself and I
Author URI: http://URI_Of_The_Plugin_Author
License: None
*/
?>
<?php

class gallery {
	function show_gallery()  {
		$pluginFolder = site_url().'/wp-content/plugins/wp-gallery-plugin/';
		$imageFolder = $pluginFolder.'gallery_images/';
		$jsFolder = $pluginFolder.'js/'

?>
<script src="<?php echo $jsFolder.'/gallery.js' ?>"></script>
<script>
	$(document).ready(function() {
		runGallery();
	});

	registerMultitouch();
</script>
<section id="mainColumn">
	<h1>
		<a href="#">Photo Tour</a>
	</h1>
		<section class="marginLeftAndRight">
		<div id="slideshow">
			<img id="slideshowimg1" src="<?php echo $imageFolder.'eth-1-large.jpg'; ?>" alt="" />
			<img id="slideshowimg2" src="<?php echo $imageFolder.'eth-2-large.jpg';  ?>" alt="" />
			<img id="slideshowimg3" src="<?php echo $imageFolder.'eth-3-large.jpg';  ?>" alt="" />
			<img id="slideshowimg4" src="<?php echo $imageFolder.'eth-4‎-large.jpg'; ?>" alt="" />
			<img id="slideshowimg6" src="<?php echo $imageFolder.'eth-6-large.jpg';  ?>" alt="" />
			<img id="slideshowimg7" src="<?php echo $imageFolder.'eth-7-large.jpg';  ?>" alt="" />
		</div>
		<ul id="slideshowNavigationButtons">
			<li><a id="previous" href="#" onClick="return false;">
					<img id="slideshowNavigationImages" src="<?php echo $imageFolder.'previous.png' ?>" alt="" />
				</a></li>
			<li><a id="play" href="#" onClick="return false;">
					<img id="slideshowNavigationImages" src="<?php echo $imageFolder.'play.png' ?>" alt="" />
				</a></li>
			<li><a id="pause" href="#" onClick="return false;">
					<img id="slideshowNavigationImages" src="<?php echo $imageFolder.'pause.png' ?>" alt="" />
				</a></li>
			<li><a id="next" href="#" onClick="return false;">
					<img id="slideshowNavigationImages" src="<?php echo $imageFolder.'next.png' ?>" alt="" />
				</a></li>
		</ul>
		<ul id="photoTourHorizontal">
			<li class="leftImage">  <img id="img1" src="<?php echo $imageFolder.'eth-1.jpg'; ?>" alt="" /></li>
			<li class="middleImage"><img id="img2" src="<?php echo $imageFolder.'eth-2.jpg'; ?>" alt="" /></li>
			<li class="middleImage"><img id="img3" src="<?php echo $imageFolder.'eth-3.jpg'; ?>" alt="" /></li>
			<li class="middleImage"><img id="img4" src="<?php echo $imageFolder.'eth-4.jpg'; ?>" alt="" /></li>
			<li class="middleImage"><img id="img6" src="<?php echo $imageFolder.'eth-6.jpg'; ?>" alt="" /></li>
			<li class="rightImage"> <img id="img7" src="<?php echo $imageFolder.'eth-7.jpg'; ?>" alt="" /></li>
		</ul>
	</section>
<div id="readMore"/>
</section>

<?php 

	}
}


//********** admin menu
/* erscheint unter  "Settings -> Gallery Plugin" */

/** Step 2 (from text above). */
add_action( 'admin_menu', 'gallery_plugin_menu' );

/** Step 1. */
function gallery_plugin_menu() {
	add_options_page( 'Gallery Plugin Options', 'ETH Gallery Plugin', 'manage_options', 'my-unique-identifier', 'gallery_plugin_options' );
}

/** Step 3. */
function gallery_plugin_options() {
	if ( !current_user_can( 'manage_options' ) )  {
		wp_die( __( 'You do not have sufficient permissions to access this page.' ) );
	}
	echo '<div class="wrap">';
	echo '<p>Here is where the form would go if I actually had options.</p>';
	echo '</div>';
}


?>
